﻿using System.Configuration;

namespace QueueManager.Service
{
  static class TestRun
  {
    public static void Main()
    {
      var objMonitor = new QueueMonitor();
      var objSettings = (QueueSection)ConfigurationManager.GetSection("queues");

      foreach (QueueSetting objQueue in objSettings.Queues)
      {
        objMonitor.ProcessQueue(objQueue);
      }

    }

  }
}
